package com.ruoyi.project.custom.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CustomInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String id;

    // 店铺名称
    @Excel(name = "店铺名称", width = 35, align = Excel.Align.LEFT)
    private String cusname;

    // 旺旺号
    @Excel(name = "旺旺号", width = 35, align = Excel.Align.LEFT)
    private String aliww;

    // 等级
    @Excel(name = "客户等级", readConverterExp = "0=不重要,1=一般,2=重要,3=非常重要,4=已签约客户")
    private String level;

    @Excel(name = "所属类目", width = 35, align = Excel.Align.LEFT)
    private String groupName;

    // 公司名称
    @Excel(name = "公司名称", height = 25, width = 35, align = Excel.Align.LEFT)
    private String company;

    // 所属行业id
    private String industryId;
    @Excel(name = "所属行业", width = 25, align = Excel.Align.LEFT)

    // 所属行业名称
    private String industryName;

    // 所属行业名称
    private String platformType;

    // 服务项目
    private String serviceType;

    private String wechatNo;
    private String merchantPlatform;
    private String merchantAccount;
    private String merchantTel;
    private String sourceType;

    // 店铺网址
    private String shopUrl;

    // 店铺账号
    private String account;

    // 店铺登录密码
    private String password;

    // 企业群名称
    private String wechatGroup;

    // 开始操作日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date operStartDate;

    // 终止操作日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date operEndDate;

    // 分配状态
    //@Excel(name = "分配状态",readConverterExp = "0=未分配,1=已分配")
    private String allocationStatus;

    // 拥有用户id
    private String allocationUserId;

    // 拥有用户账号
    //@Excel(name = "所有者")
    private String allocationUserName;

    // 分配时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    //@Excel(name = "分配时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date allocationTime;

    private String operators;

    private String reason;

    // 客户状态
    @Excel(name = "客户状态",readConverterExp = "0=资源,1=意向,2=签约,3=流失,4=沉默")
    private String status;

    private String operStatus;

    // 开始分配时间
    private Date allocationStartTime;

    // 结束分配时间
    private Date allocationEndTime;


    private String createMan;

    private String updateMan;

    // 服务到期日
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    // 服务到期日起
    private Date endDate1;
    // 服务到期日止
    private Date endDate2;

    @Excel(name="联系人")
    private String lxr;

    @Excel(name="联系电话")
    private String lxdh;

    /** 联系人信息 **/
    private List<CustomContact> contacts;

    // 是否公海客户
    private String isHighSea;
}
